package com.example.designpatterns.prototype;

import java.util.ArrayList;

public class ConcretePrototype extends Prototype {

    public ConcretePrototype(String year, Address address, ArrayList list) {
        super(year, address, list);
    }

    public void show() {
        System.out.println(year + ", " + address.getName() + ", " + list.get(0).toString());
    }
}
